import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

mixin BackgroundMixin {
  Widget logo() {
    return Positioned(
      left: ScreenUtil().setWidth(50.0),
      top: ScreenUtil().setWidth(30.0),
      height: ScreenUtil().setWidth(90.0),
      width: ScreenUtil().setWidth(390.0),
      child: Container(
        decoration: const BoxDecoration(
          image: DecorationImage(
              image: AssetImage('assets/title_image.png'),
              fit: BoxFit.fitHeight),
        ),
      ),
    );
  }
}
